/* ======使用注明=======
 //#import "SEGTopicTextView.h"
 //@property (nonatomic, strong)SEGTopicTextView *varTopicTextView; <#注释#>
 // 控件数据模型创建
 SEGTopicTextViewModel *data = [[SEGTopicTextViewModel alloc]init];
 // 控件内容布局计算
 SEGTopicTextViewLayout *layout = [[SEGTopicTextViewLayout alloc]initWithData:data type:SEGEnumTopicTextViewType_NO];
 // 内容布局填充到视图
 SEGTopicTextView *varTopicTextView = [[SEGTopicTextView alloc]initWithFrame:CGRectZero];
 //varTopicTextView.delegate = self;
 varTopicTextView.left = 0;
 varTopicTextView.top = 0;
 varTopicTextView.width = LYScreenWidth()();
 varTopicTextView.height = varTopicTextView.layout.totalHeight;
 [varTopicTextView setWithLayout:layout];
 
 */
#import <UIKit/UIKit.h>
#import "SEGTopicTextViewModel.h"

@protocol SEGTopicTextViewDelegate <NSObject>
@optional

//标签点击代理方法
-(void)topicTextTopicTitleLabel:(SEGLabel*)sender;
@end

@interface SEGTopicTextView : UIView
@property (nonatomic, strong,readonly)SEGTopicTextViewLayout *layout;
- (void)setWithLayout:(SEGTopicTextViewLayout *)layout;

@property (nonatomic, strong) SEGLabel *contentLabel; // 参与内容
@property (nonatomic, strong) UIImageView *contentLeftImageView; // 参与内容左侧引号图片
@property (nonatomic, strong) UIView *contentView; // 参与内容容器
@property (nonatomic, strong) UIView *contentBgView; // 参与内容背景
@property (nonatomic, strong) SEGLabel *topicTitleLabel; // 话题标题

@property (nonatomic, assign) id<SEGTopicTextViewDelegate> delegate;// 代理
@end
